Home
last modified time | relevance | path

Searched hist:"32825 c45" (Results 1 – 1 of 1) sorted by relevance

/linux/block/
H A Dblk-mq-sched.c32825c45 Mon Jul 03 12:37:14 GMT 2017 Ming Lei <ming.lei@redhat.com> blk-mq-sched: fix performance regression of mq-deadline

When mq-deadline is taken, IOPS of sequential read and
seqential write is observed more than 20% drop on sata(scsi-mq)
devices, compared with using 'none' scheduler.

The reason is that the default nr_requests for scheduler is
too big for small queuedepth devices, and latency is increased
much.

Since the principle of taking 256 requests for mq scheduler
is based on 128 queue depth, this patch changes into
double size of min(hw queue_depth, 128).

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>